package com.ruoyi.yipaiju.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.XcxUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * fo_house_uploading_order对象 fo_house_uploading_order
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public class HouseUploadingOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** no */
    @Excel(name = "no")
    private String no;

    /** client */
    @Excel(name = "client")
    private Long client;

    /** o_stage */
    @Excel(name = "o_stage")
    private Integer oStage;

    /** cancel_stage */
    @Excel(name = "cancel_stage")
    private Integer cancelStage;

    /** client_name */
    @Excel(name = "client_name")
    private String clientName;

    /** marketer_join_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "marketer_join_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date marketerJoinTime;

    /** auction_before_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "auction_before_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auctionBeforeTime;

    /** auctioning_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "auctioning_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auctioningTime;

    /** auction_deal_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "auction_deal_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auctionDealTime;

    /** auction_after_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "auction_after_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auctionAfterTime;

    /** service_finish_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "service_finish_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date serviceFinishTime;

    /** defeat_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "defeat_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date defeatTime;

    /** status */
    @Excel(name = "status")
    private Integer status;

    /** stage */
    @Excel(name = "stage")
    private Integer stage;

    /** marketer */
    @Excel(name = "marketer")
    private Long marketer;

    /** submit_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "submit_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;

    /** market_manager_vertify_status */
    @Excel(name = "market_manager_vertify_status")
    private Integer marketManagerVertifyStatus;

    /** market_manager_verification_finish_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "market_manager_verification_finish_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date marketManagerVerificationFinishTime;

    /** submit_status */
    @Excel(name = "submit_status")
    private Integer submitStatus;

    /** merchant */
    @Excel(name = "merchant")
    private String merchant;

    /** market_manager */
    @Excel(name = "market_manager")
    private String marketManager;

    /** rate */
    @Excel(name = "rate")
    private Integer rate;

    /** comment */
    @Excel(name = "comment")
    private String comment;

    /** discount_house_id */
    @Excel(name = "discount_house_id")
    private Long discountHouseId;

    /** reject_reason */
    @Excel(name = "reject_reason")
    private String rejectReason;

    private Integer type;

    private String discountHouseTitle;

    private String banner;

    private DiscountHouse discountHouse;

    private XcxUser marketerUser;
    private XcxUser marketManagerUser;

    // 买卖人头像
    private String img;
    // 买卖人昵称
    private String markName;
    // 买卖人电话
    private String telphone;

    // 审核时提交上来的价格 ，单位 万元 所以入库要乘以10000
    private BigDecimal priceYuan;

    public BigDecimal getPriceYuan() {
        return priceYuan;
    }

    public void setPriceYuan(BigDecimal priceYuan) {
        this.priceYuan = priceYuan;
    }

    public XcxUser getMarketerUser() {
        return marketerUser;
    }

    public void setMarketerUser(XcxUser marketerUser) {
        this.marketerUser = marketerUser;
    }

    public XcxUser getMarketManagerUser() {
        return marketManagerUser;
    }

    public void setMarketManagerUser(XcxUser marketManagerUser) {
        this.marketManagerUser = marketManagerUser;
    }

    public DiscountHouse getDiscountHouse() {
        return discountHouse;
    }

    public void setDiscountHouse(DiscountHouse discountHouse) {
        this.discountHouse = discountHouse;
    }

    public String getDiscountHouseTitle() {
        return discountHouseTitle;
    }

    public void setDiscountHouseTitle(String discountHouseTitle) {
        this.discountHouseTitle = discountHouseTitle;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = banner;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getMarkName() {
        return markName;
    }

    public void setMarkName(String markName) {
        this.markName = markName;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setClient(Long client)
    {
        this.client = client;
    }

    public Long getClient()
    {
        return client;
    }
    public void setoStage(Integer oStage) 
    {
        this.oStage = oStage;
    }

    public Integer getoStage() 
    {
        return oStage;
    }
    public void setCancelStage(Integer cancelStage) 
    {
        this.cancelStage = cancelStage;
    }

    public Integer getCancelStage() 
    {
        return cancelStage;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setMarketerJoinTime(Date marketerJoinTime) 
    {
        this.marketerJoinTime = marketerJoinTime;
    }

    public Date getMarketerJoinTime() 
    {
        return marketerJoinTime;
    }
    public void setAuctionBeforeTime(Date auctionBeforeTime) 
    {
        this.auctionBeforeTime = auctionBeforeTime;
    }

    public Date getAuctionBeforeTime() 
    {
        return auctionBeforeTime;
    }
    public void setAuctioningTime(Date auctioningTime) 
    {
        this.auctioningTime = auctioningTime;
    }

    public Date getAuctioningTime() 
    {
        return auctioningTime;
    }
    public void setAuctionDealTime(Date auctionDealTime) 
    {
        this.auctionDealTime = auctionDealTime;
    }

    public Date getAuctionDealTime() 
    {
        return auctionDealTime;
    }
    public void setAuctionAfterTime(Date auctionAfterTime) 
    {
        this.auctionAfterTime = auctionAfterTime;
    }

    public Date getAuctionAfterTime() 
    {
        return auctionAfterTime;
    }
    public void setServiceFinishTime(Date serviceFinishTime) 
    {
        this.serviceFinishTime = serviceFinishTime;
    }

    public Date getServiceFinishTime() 
    {
        return serviceFinishTime;
    }
    public void setDefeatTime(Date defeatTime) 
    {
        this.defeatTime = defeatTime;
    }

    public Date getDefeatTime() 
    {
        return defeatTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setStage(Integer stage) 
    {
        this.stage = stage;
    }

    public Integer getStage() 
    {
        return stage;
    }
    public void setMarketer(Long marketer)
    {
        this.marketer = marketer;
    }

    public Long getMarketer()
    {
        return marketer;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setMarketManagerVertifyStatus(Integer marketManagerVertifyStatus) 
    {
        this.marketManagerVertifyStatus = marketManagerVertifyStatus;
    }

    public Integer getMarketManagerVertifyStatus() 
    {
        return marketManagerVertifyStatus;
    }
    public void setMarketManagerVerificationFinishTime(Date marketManagerVerificationFinishTime) 
    {
        this.marketManagerVerificationFinishTime = marketManagerVerificationFinishTime;
    }

    public Date getMarketManagerVerificationFinishTime() 
    {
        return marketManagerVerificationFinishTime;
    }
    public void setSubmitStatus(Integer submitStatus) 
    {
        this.submitStatus = submitStatus;
    }

    public Integer getSubmitStatus() 
    {
        return submitStatus;
    }
    public void setMerchant(String merchant) 
    {
        this.merchant = merchant;
    }

    public String getMerchant() 
    {
        return merchant;
    }
    public void setMarketManager(String marketManager) 
    {
        this.marketManager = marketManager;
    }

    public String getMarketManager() 
    {
        return marketManager;
    }
    public void setRate(Integer rate) 
    {
        this.rate = rate;
    }

    public Integer getRate() 
    {
        return rate;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setDiscountHouseId(Long discountHouseId) 
    {
        this.discountHouseId = discountHouseId;
    }

    public Long getDiscountHouseId() 
    {
        return discountHouseId;
    }
    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("client", getClient())
            .append("oStage", getoStage())
            .append("cancelStage", getCancelStage())
            .append("clientName", getClientName())
            .append("createTime", getCreateTime())
            .append("marketerJoinTime", getMarketerJoinTime())
            .append("auctionBeforeTime", getAuctionBeforeTime())
            .append("auctioningTime", getAuctioningTime())
            .append("auctionDealTime", getAuctionDealTime())
            .append("auctionAfterTime", getAuctionAfterTime())
            .append("serviceFinishTime", getServiceFinishTime())
            .append("defeatTime", getDefeatTime())
            .append("status", getStatus())
            .append("stage", getStage())
            .append("marketer", getMarketer())
            .append("submitTime", getSubmitTime())
            .append("marketManagerVertifyStatus", getMarketManagerVertifyStatus())
            .append("marketManagerVerificationFinishTime", getMarketManagerVerificationFinishTime())
            .append("submitStatus", getSubmitStatus())
            .append("merchant", getMerchant())
            .append("marketManager", getMarketManager())
            .append("rate", getRate())
            .append("comment", getComment())
            .append("discountHouseId", getDiscountHouseId())
            .append("rejectReason", getRejectReason())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
